import request from '@/utils/request'

export default {
  // {cmtConent}
  // /oa_comments/add/{refId}
  // 新增评论
  save(data) {
    return request({
      url: `/oa_comments/add/${data.refId}`,
      method: 'post',
      data
    })
  },
  // /oa_comments/index/{refId}
  // 评论列表
  list(refId) {
    return request({
      url: `/oa_comments/index/${refId}`,
      method: 'get'
    })
  }

}
